.files-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  .fileThumbnail {
    width: 25%;
    //cursor: grab;
    padding: 0.3rem;
    position: relative;
    min-width: 260px;

    @media (max-width: 768px) {
      width: calc(100% / 3);
    }
    @media (max-width: 667px) {
      width: 50%;
    }
    @media (max-width: 576px) {
      width: 100%;
    }

    .thumbnail {
      text-align: center;
      background-color: $gray-100;
      width: 100%;
      padding: 0.3rem;
      border: 1px solid $gray-200;

      .fileicon {
        width: 100%;
        display: block;
        margin-bottom: 0.5rem;
      }

      .file-image {
        display: block;
        width: 100%;
        height: 12rem;
      }

      .file-mime {
        word-break: break-all;
      }

      .fileicon-inner {
        text-align: center;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        vertical-align: middle;
        height: 12rem;
        overflow: hidden;
        background-color: $white;
        border: 1px solid $gray-100;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }

    }
  }
}
